Similar to Enter but returns a Boolean. Attempts to get a lock on the resource managed by the CriticalSection.
Syntax |
|---|
|
result = CriticalSection.TryEnter( ) |
Return Value |
|
|---|---|
|
Result |
|
CriticalSection.TryEnter Function
Similar to Enter but returns a Boolean. Attempts to get a lock on the resource managed by the CriticalSection.
Syntax |
|---|
|
result = CriticalSection.TryEnter( ) |
Return Value |
|
|---|---|
|
Result |
|